/*
 * @Date: 2025-01-02 15:02:58
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2025-02-26 16:22:08
 * @Description: 主页定义的路由
 */
const metaBase = {
	isLink: '',
	isHide: false,
	isKeepAlive: true,
	isAffix: false,
	isIframe: false,
	roles: ['admin'],
	icon: 'icon-caidan',
}

export default [
  {
		path: '/examples/homepage',
    name: 'examples-homepage',
		component: () => import('/@/layout/routerView/parent.vue'),
    meta: {
      ...metaBase,
			title: '主页示例',
		},
    children: [
      {
				path: '/examples/homepage/design',
				name: 'homepage-design',
				meta: {
					title: '主页设计',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: false,
					isIframe: false,
					roles: ['admin'],
					icon: 'icon-caidan',
				},
				component: () => import('@/views/examples/homepage/ExmpHomeDesignView.vue'),
			},
			{
				path: '/examples/homepage/render',
				name: 'homepage-render',
				meta: {
					title: '主页渲染',
					isLink: '',
					isHide: false,
					isKeepAlive: true,
					isAffix: false,
					isIframe: false,
					roles: ['admin'],
					icon: 'icon-caidan',
				},
				component: () => import('@/views/examples/homepage/ExmpHomeRenderView.vue'),
			},
    ]
  }
]